<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/designM/observer.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_7815f4a69fa470e020068bb120d080ef.html">designM</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">observer.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d6/da0/observer_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="preprocessor">#include &lt;iostream&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &lt;algorithm&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#include &lt;functional&gt;</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &lt;tuple&gt;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#include &quot;<a class="code" href="../../d9/d7a/variant_8hpp.html">container/variant.hpp</a>&quot;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#if OBSERVER_ENABLE_AYSNC == 1</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="preprocessor">#   ifndef OBSERVER_THD_COUNT</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#       define OBSERVER_THD_COUNT (4)</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#   endif</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#   include &quot;<a class="code" href="../../dd/dce/thread_pool_8hpp.html">threadPool.hpp</a>&quot;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../df/d8d/namespacewheels.html">wheels</a>{<span class="keyword">namespace </span>dm   {</div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="};">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">   29</a></span><span class="keyword">class </span><a class="code hl_class" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">observer</a> {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#adff3196bd1b70ceba5a405f7966b1c65">   31</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#adff3196bd1b70ceba5a405f7966b1c65">~observer</a>(){}</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a612cadb6f227c8fd763f000cf74f0558">   32</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a612cadb6f227c8fd763f000cf74f0558">update</a>( <span class="keyword">const</span> std::vector&lt; wheels::variant&gt; &amp; data ) = 0;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <span class="comment">// 内部使用</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a1ececd2b80bc3cb1e91bb9f55ffb35ff">   34</a></span>    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a1ececd2b80bc3cb1e91bb9f55ffb35ff">needRelease</a>(){ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>};</div>
</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="keyword">template</span>&lt; <span class="keywordtype">int</span> N , <span class="keyword">typename</span> tupleType &gt;</div>
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">   41</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">FOR__</a>{</div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="}">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html#acf4641037a3263a4cf58bf727cac506f">   45</a></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html#acf4641037a3263a4cf58bf727cac506f">extract</a>( std::vector&lt; wheels::variant &gt;&amp; param , <span class="keyword">const</span> tupleType&amp; t ){</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>        param[ N ] = <a class="code hl_function" href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3">wheels::variant::make</a>( std::get&lt; N &gt;( t ) );</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>        <a class="code hl_function" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html#acf4641037a3263a4cf58bf727cac506f">FOR__&lt; N - 1 , tupleType &gt;::extract</a>( param , t );</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    }</div>
</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>};</div>
</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span><span class="keyword">template</span>&lt; <span class="keyword">typename</span> tupleType &gt;</div>
<div class="foldopen" id="foldopen00052" data-start="{" data-end="};">
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="../../d2/d7d/structwheels_1_1dm_1_1_f_o_r_____3_010_00_01tuple_type_01_4.html">   52</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">FOR__</a>&lt;0, tupleType &gt;{</div>
<div class="foldopen" id="foldopen00053" data-start="{" data-end="}">
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../d2/d7d/structwheels_1_1dm_1_1_f_o_r_____3_010_00_01tuple_type_01_4.html#a2063ab40cab25cceb7c398e307748e55">   53</a></span>    <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d2/d7d/structwheels_1_1dm_1_1_f_o_r_____3_010_00_01tuple_type_01_4.html#a2063ab40cab25cceb7c398e307748e55">extract</a>( std::vector&lt; wheels::variant &gt;&amp; param  , <span class="keyword">const</span> tupleType&amp; t ){</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>        param[ 0 ] = <a class="code hl_function" href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3">wheels::variant::make</a>(std::get&lt; 0 &gt;( t ) );</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    }</div>
</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>};</div>
</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="foldopen" id="foldopen00061" data-start="{" data-end="};">
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html">   61</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d4/d71/classwheels_1_1dm_1_1subject.html">subject</a> {</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">   63</a></span>    <span class="keyword">using </span><a class="code hl_typedef" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">obsvFunc_t</a> = std::function&lt; void ( <span class="keyword">const</span> std::vector&lt;wheels::variant&gt;&amp; ) &gt;;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span> </div>
<div class="foldopen" id="foldopen00067" data-start="{" data-end="};">
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html">   67</a></span>    <span class="keyword">class </span><a class="code hl_class" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html">observer__</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">observer</a>{</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>        <a class="code hl_typedef" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">obsvFunc_t</a>  m_func__;</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a7208636c036f95455c0b79853cf4d5cd">   71</a></span>        <a class="code hl_function" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a7208636c036f95455c0b79853cf4d5cd">observer__</a>( <a class="code hl_typedef" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">obsvFunc_t</a> func ):m_func__( func ){}</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#af87dcdc371cfec2854c3e298b76bfcf9">   72</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#af87dcdc371cfec2854c3e298b76bfcf9">~observer__</a>(){}</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a86739a420c5f08bf4bbada40d744cfaa">   74</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a86739a420c5f08bf4bbada40d744cfaa">update</a>( <span class="keyword">const</span> std::vector&lt; wheels::variant &gt; &amp; data ) <span class="keyword">final</span>{ m_func__( data ); }</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a119ef0878aab9a66301805bf60119826">   75</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a119ef0878aab9a66301805bf60119826">needRelease</a>() final{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>    };</div>
</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00079" data-start="{" data-end="}">
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#acf069e1ce8f25ff0eff325fef0c0575d">   79</a></span>    <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#acf069e1ce8f25ff0eff325fef0c0575d">subject</a>(){</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span><span class="preprocessor">#if OBSERVER_ENABLE_AYSNC == 1</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>        <span class="keywordtype">int</span> thd_count = 4;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span> </div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="preprocessor">#   if defined( OBSERVER_THD_COUNT )</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>        thd_count = OBSERVER_THD_COUNT;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span><span class="preprocessor">#   endif</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>        pt_thd_pool__ = std::make_shared&lt; threadPool &gt;(thd_count);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>        pt_thd_pool__-&gt;start();</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>    }</div>
</div>
<div class="foldopen" id="foldopen00091" data-start="{" data-end="}">
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#aed01d515dc4c4848e4e93dfeeb551f22">   91</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#aed01d515dc4c4848e4e93dfeeb551f22">~subject</a>(){</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span><span class="preprocessor">#if OBSERVER_ENABLE_AYSNC == 1</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        <span class="keywordflow">if</span>( pt_thd_pool__ ){</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>            pt_thd_pool__-&gt;stop();</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>        }</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>    }</div>
</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    <span class="keyword">template</span>&lt; <span class="keyword">typename</span> realType &gt;</div>
<div class="foldopen" id="foldopen00102" data-start="{" data-end="}">
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a64f0174ff955bec8b984dd4211826a6d">  102</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a64f0174ff955bec8b984dd4211826a6d">addObserver</a>( realType* obsv ) {</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>        std::unique_lock&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>        m_observers__.push_back( obsv );</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>    }</div>
</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span> </div>
<div class="foldopen" id="foldopen00110" data-start="{" data-end="}">
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a471a3a549c476a03cc41fd80b7b95c95">  110</a></span>    <a class="code hl_class" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">observer</a>* <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a471a3a549c476a03cc41fd80b7b95c95">addObserver</a>( <a class="code hl_typedef" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">obsvFunc_t</a> func ) {</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>        <a class="code hl_class" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">observer</a> * ret = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span>        <span class="keywordflow">try</span>{</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>            ret = <span class="keyword">new</span> <a class="code hl_class" href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html">observer__</a>(  func );</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>            {</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>                std::unique_lock&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>                m_observers__.push_back( ret );</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>            }</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>        }<span class="keywordflow">catch</span>( std::bad_alloc&amp; e ){</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>            std::cout &lt;&lt; e.what() &lt;&lt;std::endl;</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>        }</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>        <span class="keywordflow">return</span> ret;</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    }</div>
</div>
<div class="foldopen" id="foldopen00127" data-start="{" data-end="}">
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a05ac0e5bcadf14af3a29907a14c06665">  127</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a05ac0e5bcadf14af3a29907a14c06665">removeObserver</a>( <a class="code hl_class" href="../../df/d8d/classwheels_1_1dm_1_1observer.html">observer</a>* obsv ) {</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>        std::unique_lock&lt; std::mutex &gt; lck_( m_mutex__ );</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>        <span class="keywordflow">if</span>( m_observers__.size() == 0 ) <span class="keywordflow">return</span>;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>        <span class="keyword">auto</span> it = std::find(m_observers__.begin(), m_observers__.end(), obsv );</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>        <span class="keywordflow">if</span> (it != m_observers__.end()) {</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>            <span class="keywordflow">if</span>( (*it)-&gt;needRelease() ){</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>                <span class="keyword">delete</span> ( *it );</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>            }</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>            m_observers__.erase(it);</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>        }</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>    }</div>
</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span> </div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span>    <span class="keyword">template</span>&lt; <span class="keyword">typename</span> ...Args &gt;</div>
<div class="foldopen" id="foldopen00144" data-start="{" data-end="}">
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2e8c5831d40a9cbc7eb79786ce519ef1">  144</a></span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2e8c5831d40a9cbc7eb79786ce519ef1">notifyObservers</a>( Args&amp;&amp;... args) {</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno">  145</span>        <span class="comment">// 构造variant数组</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>        <span class="keywordflow">if</span>( <span class="keyword">sizeof</span>...( args ) &gt; 0 ){</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>            <span class="keyword">auto</span> t = std::make_tuple( std::forward&lt;Args&gt;( args )... );</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>            std::vector&lt; wheels::variant &gt;   param( <span class="keyword">sizeof</span>...( args ) );</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>            <span class="comment">// 从tuple抽取参数构造成 std::vector&lt; wheels::variant &gt;</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>            <a class="code hl_struct" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">FOR__</a>&lt; <span class="keyword">sizeof</span>...(args) - 1 , <span class="keyword">decltype</span>(t) &gt;::extract( param, t );</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>            std::lock_guard&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>            <span class="keywordflow">for</span> (<span class="keyword">auto</span> obsv : m_observers__) {</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>                obsv-&gt;update( param );</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>            }</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>        }<span class="keywordflow">else</span>{</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span>            std::vector&lt; wheels::variant &gt; param;</div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span>            std::lock_guard&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>            <span class="keywordflow">for</span> (<span class="keyword">auto</span> obsv : m_observers__) {</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span>                obsv-&gt;update( param );</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>            }</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>        }</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>    }</div>
</div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="preprocessor">#if OBSERVER_ENABLE_AYSNC == 1</span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>    <span class="keyword">template</span>&lt; <span class="keyword">typename</span> ...Args &gt;</div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>    <span class="keywordtype">void</span> notifyObserversAsync( Args&amp;&amp;... args) {</div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>        <span class="comment">// 构造variant数组</span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span>        <span class="keywordflow">if</span>( <span class="keyword">sizeof</span>...( args ) &gt; 0 ){</div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>            <span class="keyword">auto</span> t = std::make_tuple( std::forward&lt;Args&gt;( args )... );</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>            std::vector&lt; wheels::variant &gt;   param( <span class="keyword">sizeof</span>...( args ) );</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>            <span class="comment">// 从tuple抽取参数构造成 std::vector&lt; wheels::variant &gt;</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>            <a class="code hl_struct" href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">FOR__</a>&lt; <span class="keyword">sizeof</span>...(args) - 1 , <span class="keyword">decltype</span>(t) &gt;::extract( param, t );</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>            <span class="keywordflow">for</span> (<span class="keyword">auto</span> obsv : m_observers__) {</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span>                pt_thd_pool__-&gt;enqueue( [=](){</div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span>                    std::lock_guard&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span>                    obsv-&gt;update( param );</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>                });</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>            }</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>        }<span class="keywordflow">else</span>{</div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>            std::vector&lt; wheels::variant &gt; param;</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span>            std::lock_guard&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno">  182</span>            <span class="keywordflow">for</span> (<span class="keyword">auto</span> obsv : m_observers__) {</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>                pt_thd_pool__-&gt;enqueue( [=](){</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>                    std::lock_guard&lt; std::mutex &gt; lck( m_mutex__ );</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>                    obsv-&gt;update( param );</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span>                });</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>            }</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>        }</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>    }</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>    std::mutex                 m_mutex__;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>    std::vector&lt; observer* &gt;   m_observers__;</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span><span class="preprocessor">#if OBSERVER_ENABLE_AYSNC == 1</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span>    std::shared_ptr&lt; threadPool &gt;   pt_thd_pool__;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span>};</div>
</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno">  198</span>}}</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span> </div>
<div class="ttc" id="aclasswheels_1_1dm_1_1observer_html"><div class="ttname"><a href="../../df/d8d/classwheels_1_1dm_1_1observer.html">wheels::dm::observer</a></div><div class="ttdoc">观察数据变化的模块接口</div><div class="ttdef"><b>定义</b> <a href="#l00029">observer.hpp:29</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1observer_html_a1ececd2b80bc3cb1e91bb9f55ffb35ff"><div class="ttname"><a href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a1ececd2b80bc3cb1e91bb9f55ffb35ff">wheels::dm::observer::needRelease</a></div><div class="ttdeci">virtual bool needRelease()</div><div class="ttdef"><b>定义</b> <a href="#l00034">observer.hpp:34</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1observer_html_a612cadb6f227c8fd763f000cf74f0558"><div class="ttname"><a href="../../df/d8d/classwheels_1_1dm_1_1observer.html#a612cadb6f227c8fd763f000cf74f0558">wheels::dm::observer::update</a></div><div class="ttdeci">virtual void update(const std::vector&lt; wheels::variant &gt; &amp;data)=0</div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1observer_html_adff3196bd1b70ceba5a405f7966b1c65"><div class="ttname"><a href="../../df/d8d/classwheels_1_1dm_1_1observer.html#adff3196bd1b70ceba5a405f7966b1c65">wheels::dm::observer::~observer</a></div><div class="ttdeci">virtual ~observer()</div><div class="ttdef"><b>定义</b> <a href="#l00031">observer.hpp:31</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_1_1observer_____html"><div class="ttname"><a href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html">wheels::dm::subject::observer__</a></div><div class="ttdef"><b>定义</b> <a href="#l00067">observer.hpp:67</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_1_1observer_____html_a119ef0878aab9a66301805bf60119826"><div class="ttname"><a href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a119ef0878aab9a66301805bf60119826">wheels::dm::subject::observer__::needRelease</a></div><div class="ttdeci">virtual bool needRelease() final</div><div class="ttdef"><b>定义</b> <a href="#l00075">observer.hpp:75</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_1_1observer_____html_a7208636c036f95455c0b79853cf4d5cd"><div class="ttname"><a href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a7208636c036f95455c0b79853cf4d5cd">wheels::dm::subject::observer__::observer__</a></div><div class="ttdeci">observer__(obsvFunc_t func)</div><div class="ttdef"><b>定义</b> <a href="#l00071">observer.hpp:71</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_1_1observer_____html_a86739a420c5f08bf4bbada40d744cfaa"><div class="ttname"><a href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#a86739a420c5f08bf4bbada40d744cfaa">wheels::dm::subject::observer__::update</a></div><div class="ttdeci">virtual void update(const std::vector&lt; wheels::variant &gt; &amp;data) final</div><div class="ttdef"><b>定义</b> <a href="#l00074">observer.hpp:74</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_1_1observer_____html_af87dcdc371cfec2854c3e298b76bfcf9"><div class="ttname"><a href="../../d1/dee/classwheels_1_1dm_1_1subject_1_1observer____.html#af87dcdc371cfec2854c3e298b76bfcf9">wheels::dm::subject::observer__::~observer__</a></div><div class="ttdeci">virtual ~observer__()</div><div class="ttdef"><b>定义</b> <a href="#l00072">observer.hpp:72</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html">wheels::dm::subject</a></div><div class="ttdoc">数据改变的模块</div><div class="ttdef"><b>定义</b> <a href="#l00061">observer.hpp:61</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_a05ac0e5bcadf14af3a29907a14c06665"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a05ac0e5bcadf14af3a29907a14c06665">wheels::dm::subject::removeObserver</a></div><div class="ttdeci">void removeObserver(observer *obsv)</div><div class="ttdoc">移除观察者对象</div><div class="ttdef"><b>定义</b> <a href="#l00127">observer.hpp:127</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_a2d883e40ca20662c325ec6e9d244634e"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2d883e40ca20662c325ec6e9d244634e">wheels::dm::subject::obsvFunc_t</a></div><div class="ttdeci">std::function&lt; void(const std::vector&lt; wheels::variant &gt; &amp;) &gt; obsvFunc_t</div><div class="ttdef"><b>定义</b> <a href="#l00063">observer.hpp:63</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_a2e8c5831d40a9cbc7eb79786ce519ef1"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a2e8c5831d40a9cbc7eb79786ce519ef1">wheels::dm::subject::notifyObservers</a></div><div class="ttdeci">void notifyObservers(Args &amp;&amp;... args)</div><div class="ttdoc">执行通知操作</div><div class="ttdef"><b>定义</b> <a href="#l00144">observer.hpp:144</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_a471a3a549c476a03cc41fd80b7b95c95"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a471a3a549c476a03cc41fd80b7b95c95">wheels::dm::subject::addObserver</a></div><div class="ttdeci">observer * addObserver(obsvFunc_t func)</div><div class="ttdoc">添加观察者函数</div><div class="ttdef"><b>定义</b> <a href="#l00110">observer.hpp:110</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_a64f0174ff955bec8b984dd4211826a6d"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#a64f0174ff955bec8b984dd4211826a6d">wheels::dm::subject::addObserver</a></div><div class="ttdeci">void addObserver(realType *obsv)</div><div class="ttdoc">添加观察者对象</div><div class="ttdef"><b>定义</b> <a href="#l00102">observer.hpp:102</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_acf069e1ce8f25ff0eff325fef0c0575d"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#acf069e1ce8f25ff0eff325fef0c0575d">wheels::dm::subject::subject</a></div><div class="ttdeci">subject()</div><div class="ttdef"><b>定义</b> <a href="#l00079">observer.hpp:79</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1subject_html_aed01d515dc4c4848e4e93dfeeb551f22"><div class="ttname"><a href="../../d4/d71/classwheels_1_1dm_1_1subject.html#aed01d515dc4c4848e4e93dfeeb551f22">wheels::dm::subject::~subject</a></div><div class="ttdeci">virtual ~subject()</div><div class="ttdef"><b>定义</b> <a href="#l00091">observer.hpp:91</a></div></div>
<div class="ttc" id="aclasswheels_1_1variant_html_aec8c6372866cf7fd422a96e1164aa5c3"><div class="ttname"><a href="../../dd/d54/classwheels_1_1variant.html#aec8c6372866cf7fd422a96e1164aa5c3">wheels::variant::make</a></div><div class="ttdeci">static variant make(const dataType &amp;data)</div><div class="ttdoc">构建数据对象</div><div class="ttdef"><b>定义</b> <a href="../../d9/d7a/variant_8hpp_source.html#l00167">variant.hpp:167</a></div></div>
<div class="ttc" id="anamespacewheels_html"><div class="ttname"><a href="../../df/d8d/namespacewheels.html">wheels</a></div><div class="ttdoc">堆栈信息读取和保存记录</div><div class="ttdef"><b>定义</b> <a href="../../d3/df7/ary__str_8hpp_source.html#l00006">ary_str.hpp:7</a></div></div>
<div class="ttc" id="astructwheels_1_1dm_1_1_f_o_r_____3_010_00_01tuple_type_01_4_html_a2063ab40cab25cceb7c398e307748e55"><div class="ttname"><a href="../../d2/d7d/structwheels_1_1dm_1_1_f_o_r_____3_010_00_01tuple_type_01_4.html#a2063ab40cab25cceb7c398e307748e55">wheels::dm::FOR__&lt; 0, tupleType &gt;::extract</a></div><div class="ttdeci">static void extract(std::vector&lt; wheels::variant &gt; &amp;param, const tupleType &amp;t)</div><div class="ttdef"><b>定义</b> <a href="#l00053">observer.hpp:53</a></div></div>
<div class="ttc" id="astructwheels_1_1dm_1_1_f_o_r_____html"><div class="ttname"><a href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html">wheels::dm::FOR__</a></div><div class="ttdoc">抽取tuple数据内容构造参数表的vector</div><div class="ttdef"><b>定义</b> <a href="#l00041">observer.hpp:41</a></div></div>
<div class="ttc" id="astructwheels_1_1dm_1_1_f_o_r_____html_acf4641037a3263a4cf58bf727cac506f"><div class="ttname"><a href="../../de/df6/structwheels_1_1dm_1_1_f_o_r____.html#acf4641037a3263a4cf58bf727cac506f">wheels::dm::FOR__::extract</a></div><div class="ttdeci">static void extract(std::vector&lt; wheels::variant &gt; &amp;param, const tupleType &amp;t)</div><div class="ttdef"><b>定义</b> <a href="#l00045">observer.hpp:45</a></div></div>
<div class="ttc" id="athread_pool_8hpp_html"><div class="ttname"><a href="../../dd/dce/thread_pool_8hpp.html">threadPool.hpp</a></div></div>
<div class="ttc" id="avariant_8hpp_html"><div class="ttname"><a href="../../d9/d7a/variant_8hpp.html">variant.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
